package com.bd.scm.domain.dto.overTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author yufc
 */
@ApiModel(value="考勤卡-加班记录")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OverTimeTimeCardDto implements Serializable {

    @ApiModelProperty(value="")
    private Integer orderId;

    @ApiModelProperty(value="")
    private String orderNo;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date otDate;

    @ApiModelProperty(value="")
    private String reason;

    @ApiModelProperty(value="")
    private String statusName;

    @ApiModelProperty(value="")
    private String lastApproverNo;

    @ApiModelProperty(value="")
    private String lastApproverName;

    @ApiModelProperty(value="")
    private String submitterNo;

    @ApiModelProperty(value="")
    private String submitterName;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitterTime;

    @ApiModelProperty(value="")
    private String approver1No;

    @ApiModelProperty(value="")
    private String approver1Name;

    @ApiModelProperty(value="")
    private String approver2;

    @ApiModelProperty(value="")
    private String approver2No;

    @ApiModelProperty(value="")
    private String approver2Name;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date approvalTime;

    @ApiModelProperty(value="")
    private String removeUser;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date removeTime;

    @ApiModelProperty(value="")
    private String returnRemark;

    @ApiModelProperty(value="")
    private Integer userSerial;

    @ApiModelProperty(value="")
    private String userNo;

    @ApiModelProperty(value="")
    private String userName;

    @ApiModelProperty(value="")
    private Integer depId;

    @ApiModelProperty(value="")
    private String depName;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date kssj;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date jssj;

    @ApiModelProperty(value="")
    private Integer jsjg;

    @ApiModelProperty(value="")
    private String jsjgHour;

    @ApiModelProperty(value="")
    private String glyNo;

    @ApiModelProperty(value="")
    private Integer otBegin;

    @ApiModelProperty(value="")
    private Integer otEnd;

    @ApiModelProperty(value="")
    private String shiftName;

    @TableId(value = "detail_id")
    @ApiModelProperty(value="")
    private Integer detailId;

    private static final long serialVersionUID = 1L;

}